package com.vhall.component.controller.sign;


import com.vhall.component.controller.sign.facade.SignInnerFacade;
import com.vhall.component.entity.sign.vo.SignRecordPageVO;
import com.vhall.component.framework.common.annotation.VhallComponent;
import com.vhall.component.service.sign.service.SignInnerService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author longzhen.gong
 * @date 2021/6/3 10:21
 */
@VhallComponent
public class SignInnerController implements SignInnerFacade {

    @Autowired
    private SignInnerService signInnerService;

    @Override
    public SignRecordPageVO<Integer> selectSignAfterLiveStart(String roomId, String startDateTime, int page, int pageSize, boolean queryCount) {
        return signInnerService.selectSignAfterLiveStart(roomId, startDateTime, page, pageSize, queryCount);
    }

    @Override
    public Integer countPartakeTotalAfterLiveStart(String roomId, String startDateTime) {
        return signInnerService.countPartakeTotalAfterLiveStart(roomId, startDateTime);
    }
}
